-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configuration toggle for FlowExporter #5021
Add configuration toggle for FlowExporter #5021
Conversation
13c006d
to
9ed313e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would expect the documentation to be updated as well as part of this PR: docs/network-flow-visibility.md
I think that the commit message / PR description should include more information:
- non-backwards compatible changes to the Helm chart: FlowExporter-related values have all been moved under the
flowExporter
dictionary - changes to the Antrea Agent config: FlowExporter-related fields are now grouped under the
flowExporter
key. Previous parameters are still supported but are considered deprecated, and will be removed in a future release.
# If no PROTO is given, we consider "tls" as default. We support "tls", "tcp" and | ||
# "udp" protocols. "tls" is used for securing communication between flow exporter and | ||
# flow aggregator. | ||
flowCollectorAddr: {{ .collectorAddr | quote }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is a small inconsistency between the Helm value path (flowExporter.collectorAddr
) and the configuration parameter path (flowExporter. flowCollectorAddr
). Should we rename the configuration parameter for consistency between the 2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviewing. I've renamed it to flowCollectorAddr.
network-flow-visibility.md is updated as well.
9ed313e
to
69a97bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
the helm chart docs need to be rebuilt
69a97bf
to
6f2c3eb
Compare
docs/network-flow-visibility.md
Outdated
#### Configuration pre Antrea v1.12.0 | ||
|
||
Prior to the Antrea v1.12.0 release, the `flowExporter` option group in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you mean v1.13?
docs/network-flow-visibility.md
Outdated
Prior to the Antrea v1.12.0 release, the `flowExporter` option group in the | ||
Antrea Agent configuration did not exist. To enable the Flow Exporter feature, | ||
one simply needed to enable the feature gate, and the Flow Exporter related | ||
configuration could be configured using (now deprecated) `flowCollectorAddr`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/(now deprecated)/the (now deprecated)
6f2c3eb
to
d96739d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
… when flowAggregator is not installed 1. Add non-backwards compatible changes to the Helm chart: a. Change name flowCollector to flowExporter. b. FlowExporter-related values have all been moved under the flowExporter dictionary. 2. Add changes to the Antrea Agent config: FlowExporter-related fields are now grouped under the flowExporter key. Previous parameters are still supported but are considered deprecated, and will be removed in a future release. 3. Update network-flow-visibility.md Signed-off-by: Yun-Tang Hsu <[email protected]>
d96739d
to
4b23be3
Compare
/test-all |
1 similar comment
/test-all |
A configuration toggle for flow exporter has recently been added to antrea agent config. We need to enable both the feature gate and the toggle to enable flow exporter feature. antrea-io/antrea#5021 Signed-off-by: heanlan <[email protected]>
A configuration toggle for flow exporter has recently been added to antrea agent config. We need to enable both the feature gate and the toggle to enable flow exporter feature. antrea-io/antrea#5021 Signed-off-by: heanlan <[email protected]>
A configuration toggle for flow exporter has recently been added to antrea agent config. We need to enable both the feature gate and the toggle to enable flow exporter feature. antrea-io/antrea#5021 Signed-off-by: heanlan <[email protected]>
Adding configuration toggle for flow exporter to prevent antrea agent from showing error in log, which happens when user enable flow exporter feature gate without installing flow aggregator.
Fixes #4953
Signed-off-by: Yun-Tang Hsu [email protected]